package org.raftkv.raft.core;

import org.raftkv.raft.pb.Message;

import java.util.List;

public interface StateMachine {

    void step(Message m);

    List<Message> readMessages();

}
